<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- thead 
        tbody
        tfoot    
        th:表格头部标签 加粗
    -->
    <table border="1px red solid" width='50%' align="center">
        <thead>
            <tr>
                <th>日期</th>
                <th>收入</th>
                <th>支出</th>
                <th>合计</th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <td></td>
                <td></td>
                <td>合计</td>
                <td>3333</td>
            </tr>
        </tfoot>
        <tbody>
            <tr>
                <td>2020.1.1</td>
                <td>500</td>
                <td>400</td>
                <td>100</td>
            </tr>
        </tbody>
    </table>
</body>
</html>